package com.huaxi.ddgw.manager.mapper;

import com.huaxi.ddgw.model.dto.h5.OrderInfoDto;
import com.huaxi.ddgw.model.entity.order.OrderInfo;
import com.huaxi.ddgw.model.entity.order.OrderStatistics;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderInfoMapper {
    //根据前一天的日期进行统计功能 (分组操作)
    //统计前一天交易的数据
    OrderStatistics selectOrderStatistics(String createDate);

    //订单列表
    List<OrderInfo> findByPage(OrderInfoDto orderInfoDto);

    //订单详情
    List<OrderInfo> findOrderInfo(String orderNo);
}
